//package jpa.auditing;
//
//import jpa.entity.AuditableUser;
//import org.springframework.data.domain.AuditorAware;
//
///**
// * Created by barton on 16-5-12.
// */
//public class AuditorAwareImpl implements AuditorAware<AuditableUser> {
//    private AuditableUser auditor;
//
//    public void setAuditor(AuditableUser auditor) {
//        this.auditor = auditor;
//    }
//
//    @Override
//    public AuditableUser getCurrentAuditor() {
//        return auditor;
//    }
//}
